package com.zzyl.serve.domain;

import java.util.List;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 护理计划对象 nursing_plan
 * 
 * @author ruoyi
 * @date 2025-09-06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("NursingPlan")
public class NursingPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty("编号")
    private Long id;
    /** 排序号 */
    @ApiModelProperty("排序号")
    private Integer sortNo;
    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String planName;
    /** 状态（0禁用 1启用） */
    @Excel(name = "状态", readConverterExp = "0=禁用,1=启用")
    @ApiModelProperty("状态（0禁用 1启用）")
    private Integer status;
    /** 护理计划和项目关联信息 */
    @TableField(exist = false)
    private List<NursingProjectPlan> nursingProjectPlanList;


    public List<NursingProjectPlan> getNursingProjectPlanList()
    {
        return nursingProjectPlanList;
    }

    public void setNursingProjectPlanList(List<NursingProjectPlan> nursingProjectPlanList)
    {
        this.nursingProjectPlanList = nursingProjectPlanList;
    }

}
